package com.yisu.expressway.manager.core.mapper;

import com.yisu.expressway.ewf.entity.RecommendGoods;
import org.apache.ibatis.annotations.Param;

public interface RecommendGoodsMapper {
    int deleteByPrimaryKey(Long id);

    int insert(RecommendGoods record);

    RecommendGoods selectByPrimaryKey(Long id);

    int updateByPrimaryKey(RecommendGoods record);

    int maxSortBySourceCode(@Param("sourceCode") Long sourceCode);

    int updateSort(RecommendGoods recommendGoods);
/*
    RecommendGoods selectByCategoryCodeAndGoodsNo(RecommendGoods recommendGoods);*/

    int isExitByInfo(RecommendGoods recommendGoods);
}